<!doctype html>
<html ng-app="mui">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
    <!-- for example only -->
    <script src="../../node_modules/angular/angular.js"></script>
    <!-- end -->

    <link rel="stylesheet" type="text/css" href="../assets/mui/css/mui.css"/>
    <script src="../assets/mui/angular/mui-angular.js"></script>
  </head>
  <body>
    <mui-container>
      <h1>Dropdowns</h1>
      <mui-panel>
        <h2>Dropdown</h2>
        <mui-dropdown
            label="dropdown"
            color="primary"
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
        <mui-dropdown
            label="dropdown"
            color="primary"
            alignment="right"  
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
      </mui-panel>
      <mui-panel>
        <h2>Dropup</h2>
        <mui-dropdown
            label="dropup"
            color="primary"
            placement="up"
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
        <mui-dropdown
            label="dropup-right"
            color="primary"
            placement="up"
            alignment="right"  
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
      </mui-panel>
      <mui-panel>
        <h2>Dropright</h2>
        <mui-dropdown
            label="dropdown"
            color="primary"
            placement="right"
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
        <mui-dropdown
            label="dropdown"
            color="primary"
            placement="right"
            alignment="bottom"  
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
      </mui-panel>
      <mui-panel>
        <h2>Dropleft</h2>
        <mui-dropdown
            label="dropdown"
            color="primary"
            placement="left"
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>
        <mui-dropdown
            label="dropdown"
            color="primary"
            placement="left"
            alignment="bottom"  
        >
          <mui-dropdown-item>Option 1</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
        </mui-dropdown>        
      </mui-panel>
      <mui-panel>
        <h3>Dropdown Left</h3>
        <mui-dropdown
            label='dropdown <em>EM</em>'
            color="danger"
            open
        >
          <mui-dropdown-item link="#/login">Login</mui-dropdown-item>
          <mui-dropdown-item>Option 2</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 3</mui-dropdown-item>
        </mui-dropdown>

        <mui-dropdown
            color="danger"
            label="dropdown"
            disabled
        >
          <mui-dropdown-item link="#">Option 1</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 2</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 3</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 4</mui-dropdown-item>
        </mui-dropdown>

        <mui-dropdown
            label="R"
            variant="fab"
            size="large"
            color="primary"
            no-caret
            right-align
        >
          <mui-dropdown-item link="#">Option 1</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 2</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 3</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 4</mui-dropdown-item>
        </mui-dropdown>

        <mui-dropdown
            label="<i class='fa fa-cogs'></i>"
            variant="fab"
            size='small'
            no-caret
        >
          <mui-dropdown-item link="#">Option 1</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 2</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 3</mui-dropdown-item>
          <mui-dropdown-item link="#">Option 4</mui-dropdown-item>
        </mui-dropdown>
      </mui-panel>
    </mui-container>
  </body>
</html>
